package org.android.cosmus.indiam;

import org.android.cosmus.indiam.R;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;

public class SplashIndiam extends Activity
{

  @Override
  protected void onCreate(Bundle savedInstanceState)
  {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.splash_indiam);

    Thread splashTimer = new Thread()
    {
      public void run()
      {
        try
        {
          sleep(4000);
          startActivity(new Intent("org.android.cosmus.indiam.activities.LOGIN"));
        }
        catch (Exception e)
        {
          e.printStackTrace();
        }
        finally
        {
          finish();
        }
      }
    };
    splashTimer.start();
  }

}
